{literal}<script type="text/javascript">
  if (navigator.userAgent.match(/Android/i)
  		|| navigator.userAgent.match(/webOS/i)
			|| navigator.userAgent.match(/iPhone/i)
			|| navigator.userAgent.match(/iPad/i)
			|| navigator.userAgent.match(/iPod/i)
			|| navigator.userAgent.match(/BlackBerry/i)) {
	}
	else {
	  window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
		d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
		_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
		$.src='//v2.zopim.com/?{/literal}{$zopim}{literal}';z.t=+new Date;$.
		type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
	}
</script>{/literal}

<script type="text/javascript">
	var lang = '{if $lang_iso=='en'}en{else if $lang_iso=='tw'}zh_TW{else}zh_CN{/if}';
	
	var bubbleTitle = '{l s='Chat with Customer Service' mod='blockzopim'}';
	var badgeText = '{l s='Chat with Customer Service' mod='blockzopim'}';
	var conciergeTitle = '{l s='Ask us anything' mod='blockzopim'}';
	var conciergeName = '{l s='Customer Service' mod='blockzopim'}';
	var windowTitle = '{l s='Chat' mod='blockzopim'}';
	
	var onlineTitle = '{l s='Chat with us' mod='blockzopim'}';
	var offlineTitle = '{l s='Leave a message' mod='blockzopim'}';
	
	$zopim(function() {
		$zopim.livechat.setLanguage(lang);
		$zopim.livechat.bubble.setTitle(bubbleTitle);
		$zopim.livechat.badge.setText(badgeText);
		$zopim.livechat.button.setHideWhenOffline(true);
		$zopim.livechat.concierge.setTitle(conciergeTitle);
		$zopim.livechat.concierge.setName(conciergeName);
		$zopim.livechat.window.setTitle(windowTitle);
		$zopim.livechat.setGreetings({
			'online': [onlineTitle],
			'offline': [offlineTitle]	
		});
	})
</script>